package com.cmc.cloud.cmclink.doc.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cmes.framework.mybatis.core.dataobject.BaseDO;

import lombok.*;

/**
 * 危险品禁接清单明细 DO
 *
 * @author 集运管理员
 */
@TableName("doc_dg_prohibited_item")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DgProhibitedItemDO extends BaseDO {

    /**
     * 主键
     */
    @TableId
    private Long id;
    /**
     * 清单主信息id
     */
    private Long mainId;
    /**
     * 副风险
     */
    private String subsidiaryRisk;
    /**
     * 危险货物编号
     */
    private String unNo;
    /**
     * 闪点
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private BigDecimal flashPoint;
    /**
     * 包装组别
     */
    private String packingGroup;
    /**
     * 备注
     */
    private String remark;

}
